package kr.hkit.powerjava.chapter07.submit;

class Rectangle {

	int width, height;

	public void setWidth(int width) {
		this.width = width;
	}

	public void setHeight(int height) {
		this.height = height;
	} 

	int area() {
		return width * height;
	}
	
	int perimeter() {
		return (width + height) * 2 ;
	}
}

